const a = 1;

const arr = [100, 200];
arr[0] = 1;
arr[1] = 2;
console.log(arr);// [1, 2]
// 报错
// arr = ['a', 'b'];


